<?php

return [
    //下面有子列表为一级目录
    '1' => [
        'name' => '接口说明',
        'id' => '1',
        'parent' => '0',
        'childrens' => [2, 3],
        'class' => '',
        'readme' => ''
    ],
    //没有接口的文档，加载markdown文档
    '2' => [
        'name' => '说明',
        'id' => '2',
        'parent' => '1',
        'childrens' => [],
        'class' => '',
        'readme' => '/doc/api/base.md'
    ],
    //User接口文档
    '3' => [
        'name' => '登录接口',
        'id' => '3',
        'parent' => '1',
        'childrens' => [],
        'readme' => '',
        'class' => \app\api\controller\v2\Login::class
    ],


//    //星盘接口文档
//    '4' => [
//        'name' => '星盘接口',
//        'id' => '4',
//        'parent' => '0',
//        'childrens' => [5],
//        'readme' => '',
//        'class' => ''
//    ],
//    //本命盘接口文档
//    '5' => [
//        'name' => '本命盘',
//        'id' => '5',
//        'parent' => '4',
//        'childrens' => [],
//        'readme' => '',
//        'class' => \app\astro\controller\Natal::class
//    ],

    // 首页接口
    '4' => [
        'name' => '首页接口',
        'id' => '4',
        'parent' => '0',
        'childrens' => [],
        'readme' => '',
        'class' => \app\api\controller\v2\Index::class
    ],
    '5'=> [
        'name' => '文章相关',
        'id' => '5',
        'parent' => '0',
        'childrens' => [6,7],
        'readme' => '',
        'class' => ''
    ],
    '6' => [
        'name' => '文章接口',
        'id' => '6',
        'parent' => '5',
        'childrens' => [],
        'readme' => '',
        'class' => \app\api\controller\v2\Article::class
    ],
    '7' => [
        'name' => '文章评论',
        'id' => '7',
        'parent' => '5',
        'childrens' => [],
        'readme' => '',
        'class' => \app\api\controller\v2\ArticleComment::class
    ],

    '10' => [
        'name' => '档案相关',
        'id' => '10',
        'parent' => '0',
        'childrens' => [11],
        'readme' => '',
        'class' => ''
    ],
    '11' => [
        'name' => '档案',
        'id' => '11',
        'parent' => '10',
        'childrens' => [],
        'readme' => '',
        'class' => \app\api\controller\v2\Recode::class
    ],
    '12' => [
        'name' => '档案注释',
        'id' => '12',
        'parent' => '10',
        'childrens' => [],
        'readme' => '',
        'class' => \app\api\controller\v2\RecodeNote::class
    ],
    '13' => [
        'name' => '档案袋',
        'id' => '13',
        'parent' => '10',
        'childrens' => [],
        'readme' => '',
        'class' => \app\api\controller\v2\RecodeCat::class
    ],



    // 提问模块文档
    '20'=>[
        'name' => '提问接口',
        'id' => '20',
        'parent' => '0',
        'childrens' => [21,22],
        'readme' => '',
        'class' => ''
    ],
    '21'=>[
        'name' => '骰子接口',
        'id' => '21',
        'parent' => '20',
        'childrens' => [],
        'readme' => '',
        'class' => \app\divination\controller\Index::class
    ],
    '22'=>[
        'name' => '提问注释',
        'id' => '22',
        'parent' => '20',
        'childrens' => [],
        'readme' => '',
        'class' => \app\divination\controller\Note::class
    ],

    // 设置接口
    '30'=>[
        'name'=>'设置接口',
        'id' => '30',
        'parent' => '0',
        'childrens' => [31],
        'readme' => '',
        'class' => ''
    ],
    '31'=>[
        'name'=>'星盘设置',
        'id' => '31',
        'parent' => '30',
        'childrens' => [],
        'readme' => '',
        'class' => \app\setting\controller\Astro::class
    ],
    // 设置接口
    '40'=>[
        'name' => '校准生辰',
        'id' => '40',
        'parent' => '0',
        'childrens' => [41],
        'readme' => '',
        'class' => ''
    ],
    '41'=> [
        'name' => '校准生辰',
        'id' => '41',
        'parent' => '40',
        'childrens' => [],
        'readme' => '',
        'class' => \app\rectification\controller\Index::class
    ],


    '90'=>[
        'name' => '其他接口',
        'id' => '90',
        'parent' => '0',
        'childrens' => [],
        'readme' => '',
        'class' => '',
    ],

    '91'=>[
        'name'=>'获取时间',
        'id' => '91',
        'parent' => '90',
        'childrens' => [],
        'readme' => '',
        'class' => \app\api\controller\Time::class
    ],


    '110'=>[
        'name'=>'支付',
        'id' => '110',
        'parent' => '0',
        'childrens' => [],
        'readme' => '',
        'class' => \app\pay\controller\Common::class
    ],


    '120'=>[
        'name'=>'推送',
        'id' => '120',
        'parent' => '0',
        'childrens' => [],
        'readme' => '',
        'class' => \app\push\controller\Bind::class
    ],
//    '111'=>[
//        'name'=>'支付宝',
//        'id' => '111',
//        'parent' => '110',
//        'childrens' => [],
//        'readme' => '',
//        'class' => \app\common\pay\Ali::class
//    ],
//    '112'=>[
//        'name'=>'微信',
//        'id' => '112',
//        'parent' => '110',
//        'childrens' => [],
//        'readme' => '',
//        'class' => \app\common\pay\Weixin::class
//    ],



    '999'=> [
        'name' => '幸运之城',
        'id' => '999',
        'parent' => '0',
        'childrens' => [],
        'readme' => '/doc/acg.md',
        'class' => '',
    ],
];